-- GENERATED SPELL FOR [Sentinel Aynasha] --


function spell0_11711(pUnit, Event) --@Aynasha\'s Bow,n/a--
pUnit:FullCastSpellOnTarget(19767,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11711', 598, 1)
end

function Sorts_11711(pUnit, Event)
local choix_sorts_11711 = math.random(0, 0)
if choix_sorts_11711 == 0 then
pUnit:RegisterEvent('spell0_11711', 1, 1)
end
end

function mob11711_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11711', math.random(1500, 3000), 1)
end

function mob11711_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11711_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11711_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11711, 1, 'mob11711_Action')
RegisterUnitEvent(11711, 2, 'mob11711_Leave')
RegisterUnitEvent(11711, 3, 'mob11711_Kill')
RegisterUnitEvent(11711, 4, 'mob11711_Die')
